﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2020
// 文件： CallRingEntity.cs
// 项目名称：斑马车务
// 创建时间：2020-04-17
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CRM.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("CallRingID")]
	public class CallRing
	{
		///<summary>
		///
		///</summary>
		public CallRing()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("CallRingID","")]
        public int CallRingID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CallingNo","")]
        public string CallingNo { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CalledNo","")]
        public string CalledNo { get; set; }

		///<summary>
		///
		///</summary>
        [Column("OrgCalledNo","")]
        public string OrgCalledNo { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CallData","")]
        public string CallData { get; set; }

		///<summary>
		///
		///</summary>
        [Column("SerialID","")]
        public string SerialID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("ServiceDirect","")]
        public string ServiceDirect { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CallID","")]
        public string CallID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UserParam","")]
        public string UserParam { get; set; }

		///<summary>
		///
		///</summary>
        [Column("TaskID","")]
        public string TaskID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UserDn","")]
        public string UserDn { get; set; }

		///<summary>
		///
		///</summary>
        [Column("AgentDn","")]
        public string AgentDn { get; set; }

		///<summary>
		///
		///</summary>
        [Column("AreaCode","")]
        public string AreaCode { get; set; }

		///<summary>
		///
		///</summary>
        [Column("FileName","")]
        public string FileName { get; set; }

		///<summary>
		///
		///</summary>
        [Column("NetworkInfo","")]
        public string NetworkInfo { get; set; }

		///<summary>
		///
		///</summary>
        [Column("QueueTime","")]
        public string QueueTime { get; set; }

		///<summary>
		///
		///</summary>
        [Column("OpAgentID","")]
        public string OpAgentID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("RingTime","")]
        public string RingTime { get; set; }

		///<summary>
		///
		///</summary>
        [Column("ProjectID","")]
        public string ProjectID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("ServerName","")]
        public string ServerName { get; set; }

		///<summary>
		///
		///</summary>
        [Column("ClueID","")]
        public int ClueID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("SubID","")]
        public string SubID { get; set; }

        [Column("CompanyID", "")]
        public int CompanyID { get; set; }
    }
}